package cn.hl.hm.entity;

import java.util.Date;

public class Coupon {
    private Integer id;

    private Integer definitionId;

    private Date useTime;

    private String name;

    private String couponCode;

    private Double cash;

    private Integer userId;

    private String userAccount;

    private Integer channelId;

    private Integer truckTypeId;

    private Boolean typeId;

    private String remark;

    private Integer discountTypeId;

    private Boolean userTypeId;

    private Integer userBinding;

    private Integer maxCash;

    private Double discoutCash;

    private Double discountRate;

    private String status;

    private Date startTime;

    private Date endTime;

    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDefinitionId() {
        return definitionId;
    }

    public void setDefinitionId(Integer definitionId) {
        this.definitionId = definitionId;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode == null ? null : couponCode.trim();
    }

    public Double getCash() {
        return cash;
    }

    public void setCash(Double cash) {
        this.cash = cash;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount == null ? null : userAccount.trim();
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public Integer getTruckTypeId() {
        return truckTypeId;
    }

    public void setTruckTypeId(Integer truckTypeId) {
        this.truckTypeId = truckTypeId;
    }

    public Boolean getTypeId() {
        return typeId;
    }

    public void setTypeId(Boolean typeId) {
        this.typeId = typeId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getDiscountTypeId() {
        return discountTypeId;
    }

    public void setDiscountTypeId(Integer discountTypeId) {
        this.discountTypeId = discountTypeId;
    }

    public Boolean getUserTypeId() {
        return userTypeId;
    }

    public void setUserTypeId(Boolean userTypeId) {
        this.userTypeId = userTypeId;
    }

    public Integer getUserBinding() {
        return userBinding;
    }

    public void setUserBinding(Integer userBinding) {
        this.userBinding = userBinding;
    }

    public Integer getMaxCash() {
        return maxCash;
    }

    public void setMaxCash(Integer maxCash) {
        this.maxCash = maxCash;
    }

    public Double getDiscoutCash() {
        return discoutCash;
    }

    public void setDiscoutCash(Double discoutCash) {
        this.discoutCash = discoutCash;
    }

    public Double getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(Double discountRate) {
        this.discountRate = discountRate;
    }

   

    public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}